/**
 * 
 */
var login=angular.module("loginApp",['ngMessages']);
login.controller('loginCtrl',function($scope,$http){
	$scope.subform=function(){
		$http({
			method:'POST',
			url:'doSecurity',
			params:{
				'name':$scope.user.name
			}
		}).then(function(result) {  
           alert("3");
        }); 
	};
	});